<?php

namespace App\Http\Model;

use Illuminate\Database\Eloquent\Model;

class ClothingAttr extends Model
{
    protected $table='clothing_attr';
    protected $guarded=[];
    public function clothingSpec(){
        return $this->belongsTo('App\Http\Model\ClothingSpec',"clothing_spec_id");
    }
    public function ordersInfo(){
        return $this->hasMany('App\Http\Model\OrdersInfo',"ordersInfo_id");
    }
    public function goods(){
        return $this->belongsTo('App\Http\Model\Goods',"goods_id");
    }
}
